
{% extends 'base.html' %}
{% load crispy_forms_tags %}

{% block head_extra %}
{{ form.media }}
{{ block.super }}
{% endblock %}

{% block content %}
<div class="container">

<div class="col-md-6 col-md-offset-3">
		<h1 class="login-center">Login</h1>
		<form method="POST" action=".">
		{% csrf_token %}
		{{ form | crispy }}
		<input type="hidden" value="{{ next }}" name="next"/>
        <div class="login-center">
			<input class="btn btn-success login-center" type="submit" value="Login" />
        </div>
        <br/>  or <a href="{% url 'accounts:register' %}">create an account</a>
		</form>
	</div>
</div>
{% endblock %}